import { _decorator, Component, Input, input } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('WhileBlink')
export class WhileBlink extends Component {
    onLoad() {
        
    }

    blink() {
        this.node.active = true;
        this.scheduleOnce(() => {
            this.node.active = false;
        });
        // tween(this.node).delay(0.01).set({ active: false }).start();
    }
}
